<div data-count=input.count>
    <for|item| of=input.items>
        <div key=item data-count=input.count no-update>${item}</div>
    </for>
</div>